package com.daixiaowei.service;

import com.daixiaowei.model.Restaurant;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RestaurantService {

    public List<Restaurant> getAllRestaurants() {
        return List.of(
                new Restaurant("欢乐餐厅", "商业街", "休闲餐"),
                new Restaurant("惊喜餐厅", "市中心", "特色美食")

        );
    }
}
